package com.errol.generic.baiducloud.basic.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 百度云获取 token 接口返回值
 * 按照 api 文档，其他参数暂时不用
 *
 * @author zhang xiao bin
 * @version v1.0
 * @date 2020/09/22
 * @since v
 **/
@Data
@EqualsAndHashCode(callSuper = true)
public class BaiduAccessTokenDTO extends AbstractBaiduApiResultDTO {

    @JsonProperty(value = "access_token")
    private String accessToken;

    @JsonProperty(value = "expires_in")
    private Integer expire;

}
